<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>登陆页面</title>
</head>
<body>
<form th:action="@{/u/login1}" method="post">
    姓名：<input type="text" name="username"/><br/>
    密码：<input type="text" name="psw"/><br/>
    角色:<input type="radio" required checked="true" name="rid" value="1">普通用户
    <input type="radio" required name="rid" value="2">管理员<br/>
    <input type="submit" value="登录"/>
   <a href="#" th:href="@{/e/tozhu}">注册</a>

</form>
</body>
</html>